package com.omall.open.sdk.response;

import com.omall.open.sdk.OmallPageResponse;
import com.omall.open.sdk.domain.OrderListInfo;
import lombok.Data;

import java.util.List;

/**
 * @author 枫伦
 * @description: TODO
 * @date 2020/10/22 3:19 下午
 */
@Data
public class OrderIndexResponse extends OmallPageResponse {

    private List<OrderListInfo> orderInfoList;

    @Override
    public Class<?> getResultType() {
        return OrderListInfo.class;
    }

    @Override
    public void setResult(Object result) {
        if (result != null) {
            this.orderInfoList = (List<OrderListInfo>) result;
        }
    }

}
